package cn.gok.staticProxy1;

/**
 * @author: chen fan
 * @since: 2022/11/9 10:07
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        TestService testService = new TestServiceImplProxy(new TestServiceImpl());
        testService.service2(20);

        test1(testService);
    }

    public static void test1(TestService testService){
        testService.service1();
    }
}
